<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
		<script src="${contextPath}/resource/js/index.js"></script>
		<script src="${contextPath}/resource/js/menu.js"></script>
		<script language="javascript">
		</script>
	</head>
	<body>
		<table class="menu_table">
			<tr>
				<th>手机业务管理</th>
			</tr>
		</table>
		<div class="listtable">
		<div class="secondDiv">
		<table class="data_js_table" id="js_table">
			<tr>
				<th width="10%">业务名称</th >
				<th width="8%">展示图</th>
				<th width="12%">已配置短信数</th>
				<th  width="20%">操作</th>
			</tr>
			<s:iterator value="page.list" var="business">
				<tr>
					<td>
						<s:property value="#business.ywName" />
					</td>
					
					<td>
						<img src="${contextPath}<s:property value="#business.ywZsturl"/>" alt="" width="25px" height="25px" />				
					</td>
					<td><s:property value="#business.count" /></td>
					<td>
						<a href="SmsDetailAction_list.do?businessId=${business.ywId}" title="配置短信">
							配置短信
						</a>&nbsp;|&nbsp;
						<a href="BusinessAction_edit.do?id=${business.ywId}" title="修改">
							<img src="${contextPath}/resource/img/ico/edit.png" class="edit_style" align="middle" alt="修改"></img>
						</a>&nbsp;|&nbsp;
						<a href="BusinessAction_delete.do?id=${business.ywId}"
							onclick="ismesag('确认删除'+'${business.ywName}'+'?')" title="删除">
									<img src="${contextPath}/resource/img/ico/delete.png" class="delete_style" align="middle" alt="删除"></img>
						</a>
					</td>
				</tr>
			</s:iterator>
		</table>
			<table class="button_table">
				<tr>
					<td  width="20%" align="left">
					<div style="">
						<input type="button"
								onclick="javascript:location='BusinessAction_add.do'"  class="add_style" value=""/>
					</div>
					</td>
					<td >
						<div class="pages">
							${pageLinkList}
						</div>
					</td>
				</tr>
			</table>
			</div>
			</div>
	</body>
</html>
